<nav class="navbar navbar-fixed-top marginb0 navbar-hardphp">
	<div class="container-fluid">

		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#hardphp-navbar-collapse">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="{$confSite.site_url}">Hardphp</a>
		</div>

		<div class="collapse navbar-collapse" id="hardphp-navbar-collapse">
			<ul class="nav navbar-nav">
				
				{foreach $nav as $v}
								 
					{empty name="$v['child']"}
					<li class=""><a href="{$v.url}">{$v.title}</a></li>
					{else/}
					<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{$v.title}</a>
						<ul class="dropdown-menu dropdown-menu-arrow-left" role="menu">
							{foreach $v['child'] as $vo}
							<li><a href="{$vo.url}">{$vo.title}</a></li>
							{/foreach}	

						</ul>
					</li>
					{/empty}
				
				
				
				{/foreach}	 
				
			</ul>
			
		</div>

	</div>

</nav>